import * as React from 'react';
import '../static/header.css'
import { Link} from 'react-router-dom'

export default class Header extends React.Component {
    public render() {
        return (
            <header className="header">
                <div className="header-left" />
                <div className="header-right">
                    <ul className="selectList">
                        <li className="statistics"><Link to={'/'}><span>站点统计</span></Link></li>
                        <li className="writeArticle"><Link to={'/writeArticle'}><span>写文章</span></Link></li>
                    </ul>
                </div>
            </header>
        );
    }

}